VIVE 3DSP Native C Library
ver 1.0.0.0
Audio 3DSP (3D Sound Perception) Native C Library
vive_3dsp_api
doppler_source.h
Go to the documentation of this file.
1
//========= Copyright 2016-2018, HTC Corporation. All rights reserved. ===========
2
#pragma once
3
#include "
audio_engine.h
"
4
5
#ifdef __cplusplus
6
extern
"C"
{
7
#endif
8
namespace
HTC_Vive3DSP_SDK
{
14
typedef
struct
vive_3dsp_internal_doppler_source
vive_3dsp_dopplersource
;
25
VIVE_3DSP_API_DLLEXPORT
vive_3dsp_dopplersource
*
26
vive_3dsp_dopplersource_create_object(
vive_3dsp_context
*api,
VIVE_3DSP_CHANNELTYPE
type,
int
sampleRate);
36
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
37
vive_3dsp_dopplersource_destroy_object(
vive_3dsp_context
*api,
vive_3dsp_dopplersource
*src);
49
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
50
vive_3dsp_dopplersource_set_buffer(
vive_3dsp_context
*api,
vive_3dsp_dopplersource
*src,
float
*data,
unsigned
int
size);
61
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
62
vive_3dsp_dopplersource_set_position(
vive_3dsp_context
*api,
vive_3dsp_dopplersource
*src,
VIVE_3DSP_Vector3
pos);
73
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
74
vive_3dsp_dopplersource_set_order(
vive_3dsp_context
*api,
vive_3dsp_dopplersource
*src,
int
order);
86
VIVE_3DSP_API_DLLEXPORT
VIVE_3DSP_API_STATUS
87
vive_3dsp_dopplersource_process(
vive_3dsp_context
*api,
vive_3dsp_dopplersource
*src,
float
*out_buffer,
int
sampleLength);
88
}
89
#ifdef __cplusplus
90
}
91
#endif
HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3
Definition:
audio_engine.h:144
HTC_Vive3DSP_SDK::VIVE_3DSP_API_STATUS
VIVE_3DSP_API_STATUS
Definition:
audio_engine.h:25
VIVE_3DSP_API_DLLEXPORT
#define VIVE_3DSP_API_DLLEXPORT
Definition:
audio_engine.h:6
vive_3dsp_dopplersource
The vive_3dsp_dopplersource structure represents the doppler effect of a moving audio source...
audio_engine.h
HTC_Vive3DSP_SDK::VIVE_3DSP_CHANNELTYPE
VIVE_3DSP_CHANNELTYPE
Definition:
audio_engine.h:42
vive_3dsp_context
The vive_3dsp_context structure represents the overall audio engine of 3D sound model.
HTC_Vive3DSP_SDK
Definition:
vive_3dsp_api.h:15
Generated by
1.8.14